home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-1998 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: MapFile
- @Method: getNext - returns an Association object containing the next
- entry in the MapFile and updates the Position object.
- @Syntax: mapFile.getNext(position)
- @Summary: getNext - returns the next item in the MapFile
- */
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("mapFile.getNext(position)", selection);
- editor.setActive("Insert mapFile.getNext");
- }
- }
-
- !!/Script
-